const Router = require('koa-router')
const myResumeController = require('../../controllers/myResume')

const router = new Router({
  prefix: '/myResume',
})

// 增加留言接口
router.post('/createLeaveMessage', myResumeController.createLeaveMessage);

// 查询所有留言
router.get('/findAllMessage', myResumeController.findAllMessage);

module.exports = router
